<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/st4" prefix="st"%>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="Cp1251"%>
<html>
<head>
</head>
<body>
<div>
<h2><st:i18n key="pages.Departures"/></h2>
<table class="table" style="width:800px;">
	<tr style="text-align:center; font-size:20px;">    
		<td style="width:100px;"><st:i18n key="pages.date"/> </td> 
		<td style="width:540px;"><st:i18n key="pages.Info"/> </td>
		<td style="width:150px;"><st:i18n key="pages.Aircraft"/> </td>
	</tr>  
	
	<c:forEach items="${flights_dep}" var="item">  
		<tr>    
			<td>${item.getFlightDate()}</td>  
			<td>${item.getSchedule().getShortDescription()}</td>
			<td>${item.getSchedule().getAirplane()}</td>
		</tr>    
	</c:forEach> 					
</table> 
</div>

<div>
<h2><st:i18n key="pages.Arrivals"/></h2>
<table class="table" style="width:800px;">
	<tr style="text-align:center; font-size:20px;">    
		<td style="width:100px;"><st:i18n key="pages.date"/> </td> 
		<td style="width:540px;"><st:i18n key="pages.Info"/> </td>
		<td style="width:150px;"><st:i18n key="pages.Aircraft"/> </td>
	</tr>  
	
	<c:forEach items="${flights_arriv}" var="item">  
		<tr>    
			<td>${item.getFlightDate()}</td>  
			<td>${item.getSchedule().getShortDescription()}</td>
			<td>${item.getSchedule().getAirplane()}</td>
		</tr>    
	</c:forEach> 					
</table> 
</div>
</body>